<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>

<div class="data">
<form class="mainForm" name="appResourceListForm" id="appResourceListForm" method="post">
		<div class="top clearfix">
			<ul class="tab">
				<li class="curr"><span><fmt:message key="appResourceList.heading"/></span></li>
			</ul>
			<%@include file="/common/pagingOnlyTop.jsp"%>
		</div>
		<c:set var="editURLPath" value="${ctxPath}/system/resource.html?doAction=edit&from=list" scope="page" />
		<c:set var="checkAll"><input type="checkbox" name="allbox" onclick="checkAll(this.form)" class="checkbox"/></c:set>
		<display:table name="${appResourceList}" cellspacing="0" cellpadding="0" uid="appResourceItem"	class="list_table" export="false" requestURI="" style="width:100%">
			<display:column style="width: 3%" title="${checkAll}" media="html">
				<input type="checkbox" name="multiIds" value="${appResourceItem.resourceId}" class="checkbox" title="${appResource.resourceName}"/>
			</display:column>
			<display:column style="width: 15%" sortable="false" decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="appResource.resourceName">
				<a href="#" onclick="dlgResourceForm_show({doAction:'edit', appResourceId:'${appResourceItem.resourceId}'}); return false;">${appResourceItem.resourceName}</a>
			</display:column>
		    <display:column style="width: 40%" property="resourceString" sortable="false" headerClass="data-table-title"
        		decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="appResource.resourceString"/>
		    <display:column property="resourceDesc" sortable="false" headerClass="data-table-title"
        		decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="appResource.resourceDesc"/>
		</display:table>
		<%@include file="/common/pagingOnly.jsp"%>
</form>
</div>
<script type="text/javascript">
highlightTableRows("appResourceItem");
</script>
